package org.zfes.snowier.zbss.xzy.biz.alert.model;
import org.zfes.snowier.core.data.IBaseModel;
public class AlertSubscribe extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public AlertSubscribe() {}
	public AlertSubscribe(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	  private java.lang.Long tenantId;
	  private java.lang.Long deviceId;
	  private java.lang.Long userId;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="订阅用户名长度不能大于255")
	  private java.lang.String userName;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  private java.lang.Byte status;
	  private java.lang.Long confItem;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="超过阈值范围长度不能大于255")
	  private java.lang.String exceedRange;
 
	
	//<-------------------------------------------->
	public AlertSubscribe setTenantId(java.lang.Long tenantId){
	 this.tenantId=tenantId;
	 return this;
	}
	public java.lang.Long getTenantId(){
		return this.tenantId;
	}
	public AlertSubscribe setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public AlertSubscribe setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public AlertSubscribe setUserName(java.lang.String userName){
		this.userName=userName==null?null:userName.trim();
	 return this;
	}
	public java.lang.String getUserName(){
		return this.userName;
	}
	public AlertSubscribe setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public AlertSubscribe setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public AlertSubscribe setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public AlertSubscribe setConfItem(java.lang.Long confItem){
	 this.confItem=confItem;
	 return this;
	}
	public java.lang.Long getConfItem(){
		return this.confItem;
	}
	public AlertSubscribe setExceedRange(java.lang.String exceedRange){
		this.exceedRange=exceedRange==null?null:exceedRange.trim();
	 return this;
	}
	public java.lang.String getExceedRange(){
		return this.exceedRange;
	}

}
